package cn.wolfcode.crm.qo;

import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class QueryObject {
    private int page =1;
    private int rows = 10;
    private String sort;//需要排序的字段
    private String order;//排序的方式,默认为降序

    public int getStart(){
        return (page -1)*rows;
    }



}
